package com.hdaccp.shuiguoD.dao;

import com.hdaccp.shuiguoD.entity.Permission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RolePermissionDao {
    public List<Long> getPermissionByRoleId(long rid);
    public void del( long rid);
    public void save(@Param("rid") long rid,@Param("pid") long pid);
    public List<Permission> queryByRoleId(long rid) ;
}
